package com.lframework.xingyun.basedata.bo.make;

import com.lframework.starter.web.core.bo.BaseBo;
import com.lframework.xingyun.basedata.dto.make.ProductMakeDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ProductMakeBo extends BaseBo<ProductMakeDto> {
    /**
     * ID
     */
    @ApiModelProperty("ID")
    private String id;

    /**
     * 制造方法ID
     */
    @ApiModelProperty("制造方法ID")
    private String makeId;

    /**
     * 商品编号
     */
    @ApiModelProperty("商品编号")
    private String code;

    /**
     * 商品SKU
     */
    @ApiModelProperty("商品SKU")
    private String skuCode;

    /**
     * 排序列
     */
    @ApiModelProperty("排序列")
    private Integer orderNo;

    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private String productId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("规格")
    private String spec;

    @ApiModelProperty("商品分类")
    private String categoryName;

    @ApiModelProperty("商品品牌")
    private String brandName;

    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("状态")
    private Boolean available;


    public ProductMakeBo() {}

    public ProductMakeBo(ProductMakeDto dto) {
        super(dto);
    }

    @Override
    protected void afterInit(ProductMakeDto dto) {

    }
}
